package com.qq.service;

import com.qq.pojo.Car;

import java.util.List;

public interface CarService {
    //根据价格降序查询
    List<Car> getAllCarsDESC();

//    //根据价格升序查询
//    List<Car> getAllCarsASC();

    //根据订单数量排序
    List<Car>  getCarsByNum();

    public Car selectCarById(int id);
}
